#创建目录
mkdir /home/nfs/kuboard

#运行容器
docker kill kuboard
docker rm kuboard
docker run -d \
  --restart=unless-stopped \
  --name=kuboard \
  -e KUBOARD_ENDPOINT="https://kuboard.fsgit.cc" \
  -e KUBOARD_AGENT_SERVER_TCP_PORT="10081" \
  -v /home/nfs/kuboard:/data \
  -l "traefik.enable=true" \
  -l "traefik.http.routers.kuboard.rule=Host(\`kuboard.fsgit.cc\`)" \
  -l "traefik.http.routers.kuboard.entrypoints=websecure" \
  -l "traefik.http.routers.kuboard.tls=true" \
  -l "traefik.http.services.kuboard.loadbalancer.server.port=80" \
  swr.cn-east-2.myhuaweicloud.com/kuboard/kuboard:v3.5.2.2
  
#  -p 81:80/tcp \
#  -p 10081:10081/tcp \
echo "用户名： admin"
echo "密 码： Kuboard123"
kubectl taint nodes ab node.kubernetes.io/unreachable:NoSchedule-
kubectl taint nodes ab node.kubernetes.io/unschedulable:NoSchedule-